import {RoutesInterface} from "@/interface/routesInterface";
import {Router} from "express";
import usersRoutes from "@/routes/usersRoutes";
import classRoutes from "@/routes/classRoutes";
import curriculumsRoutes from "@/routes/curriculumRoutes";
class MonitorRoute implements RoutesInterface {
    path = '/v1';
    router = Router();

    constructor() {
        this.initializeRoutes()
    }
    private initializeRoutes() {
        this.router.use(`${this.path}`,new usersRoutes().router);
        this.router.use(`${this.path}`,new classRoutes().router);
        this.router.use(`${this.path}`,new curriculumsRoutes().router);
    }
}

export default MonitorRoute